package com.jsmile.cloud.accountcenter.web.mq.order;

import org.springframework.stereotype.Component;

import com.jsmile.cloud.tradecenter.api.enums.OrderStatusEnum;
import com.jsmile.cloud.tradecenter.api.to.OrderStatusChangeTo;

import lombok.extern.slf4j.Slf4j;

@Slf4j
@Component
public class OrderRefundStrategy implements IOrderStatusStrategy {

    @Override
    public void execute(OrderStatusChangeTo orderStatusChangeTo) {
        log.info("订单退款事件：");
    }

    @Override
    public OrderStatusEnum orderStatus() {
        return OrderStatusEnum.REFUND;
    }
}
